package cn.baater.elec.web.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts2.interceptor.ServletRequestAware;
import org.apache.struts2.interceptor.ServletResponseAware;

import com.opensymphony.xwork2.ActionSupport;



@SuppressWarnings("serial")
public class BaseAction extends ActionSupport implements ServletResponseAware,ServletRequestAware{

	@SuppressWarnings("unused")
	protected HttpServletRequest request= null;
	
	@SuppressWarnings("unused")
	protected HttpServletResponse response = null;
	
	public void setServletRequest(HttpServletRequest request) {
		 this.request = request;
	}

	public void setServletResponse(HttpServletResponse response) {
		this.response = response;
	}

}
